<template>
    <render />
</template>

<script setup>

import { h, ref } from 'vue';
import renderTest2 from './renderTest2.vue';

const Show = ref(false);


setTimeout(() => {
    Show.value = true;
}, 3000)

const render = () => [
    Show.value && h('div', {
        onClick: () => {
            Show.value = false;
        }
    }, 'Render'),
    h(renderTest2)
]


</script>
<style lang="less" scoped></style>